package io.renren.modules.generator.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.generator.dao.TblDifficultPersonnelDao;
import io.renren.modules.generator.entity.TblDifficultPersonnelEntity;
import io.renren.modules.generator.service.TblDifficultPersonnelService;


@Service("tblDifficultPersonnelService")
public class TblDifficultPersonnelServiceImpl extends ServiceImpl<TblDifficultPersonnelDao, TblDifficultPersonnelEntity> implements TblDifficultPersonnelService {

    @Override
    public PageUtils queryPage(Map<String, Object> params,LambdaQueryWrapper<TblDifficultPersonnelEntity> wrapper) {
        IPage<TblDifficultPersonnelEntity> page = this.page(
                new Query<TblDifficultPersonnelEntity>().getPage(params),
                wrapper
        );

        return new PageUtils(page);
    }

}